package zhtt.hibernate;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author zhaott
 * @date: 2019/12/9 13:03
 **/
@SpringBootApplication
@ComponentScan({"zhtt.hibernate.user.config", "zhtt.hibernate.user.controller", "zhtt.hibernate.user.repository", "zhtt.hibernate.user.dao", "zhtt.hibernate.user.service"})
public class HibernateApp {

    public static void main(String[] args) {
        SpringApplication.run(HibernateApp.class, args);
    }

}
